package com.qf.service;

import com.baomidou.mybatisplus.service.IService;
import com.qf.entity.Order;
import com.qf.entity.OrderDetail;
import com.qf.entity.User;
import com.qf.vo.OrderInfo;

import java.util.List;

public interface IOrderService extends IService<Order> {
    Order createOrder(User user, OrderInfo orderInfo);

    Order getOrderById(String oid);

    void updateOrderStatus(String oid, Integer status);

    List<Order> getUserOrderList(User user);
}
